package com.studentSystem.mapper;

import com.studentSystem.pojo.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TeacherMapper {
    Teacher findByPhoneNumber(String phoneNumber);

    Teacher findById(Long id);

    void register(Long id, String name, String password, String phoneNumber);

    void updatePwd(String password, Long id);

    List<Teacher> list();

    void update(Teacher teacher);
}
